package com.cc.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-09 20:57:52
 */
@Data
@TableName("cc_online_order")
public class OnlineOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单id
	 */
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private Long uid;
	/**
	 * 状态0待付款1待发货2待收货3已收货
	 */
	private Integer onlineOrderStatus;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 应付款
	 */
	private BigDecimal amountsPayable;
	/**
	 * 已付款
	 */
	private BigDecimal amountsPaid;
	/**
	 * 收货人姓名
	 */
	private String receiverName;
	/**
	 * 省份/直辖市
	 */
	private String province;
	/**
	 * 城市
	 */
	private String city;
	/**
	 * 区
	 */
	private String region;
	/**
	 * 详细地址(街道)
	 */
	private String detailAddress;
	/**
	 * 收货人电话
	 */
	private String receiverMobile;
}
